package com.woniu.supermarket.vo;

import com.woniu.supermarket.entity.Purchase;
import com.woniu.supermarket.entity.PurchaseDetail;
import com.woniu.supermarket.entity.PurchaseReturnDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@ApiModel(description = "封装采购退货单数据")
@Data
public class PurchaseReturnVo {
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "采购退货单单号")
    private String returnNumber;
    @ApiModelProperty(value = "采购单对象")
    private Purchase purchase;
    private Integer purchaseId;
    @ApiModelProperty(value = "退货总价")
    private BigDecimal total;
    @ApiModelProperty(value = "状态（审核1 未审核0）")
    private Integer status;
    @ApiModelProperty(value = "采购退货单详情集合")
    private List<PurchaseReturnDetailVo> purchaseReturnDetailList;
}
